home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8734 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: What is &Variable (declared as: char Variable[10])?
  5. Date: Wed, 06 Mar 96 01:18:20 GMT
  6. Organization: none
  7. Message-ID: <826075100snz@genesis.demon.co.uk>
  8. References: <4gqpa1$3h9@alcor.usc.edu> <4gsdno$1bg@umbc9.umbc.edu> <TANMOY.96Feb29004629@qcd.lanl.gov>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <TANMOY.96Feb29004629@qcd.lanl.gov>
  15.            tanmoy@qcd.lanl.gov "Tanmoy Bhattacharya" writes:
  16.  
  17. >In article <825539570snz@genesis.demon.co.uk>
  18. >Lawrence Kirby <fred@genesis.demon.co.uk> writes:
  19. >
  20. ><snip>
  21. >LK: The thing that C does not really support is the idea of an array
  22. >'value' (or 
  23. >LK: more accurately a value with array type). For example you can't assign
  24. >
  25. >Technically, of course, you can have values of array types. The
  26. >problem is that there are _completely_ useless.
  27.  
  28. Right - but I decided to avoid the issue (which I felt justified in
  29. doing for this reason). However I did have this in mind when I wrote the
  30. bit you quoted below (where I stated lvalue explicitly).
  31.  
  32. >LK: The oddity is that when evaluated an array lvalue does not generate a value
  33. >LK: (rvalue) that has array type.
  34.  
  35. -- 
  36. -----------------------------------------
  37. Lawrence Kirby | fred@genesis.demon.co.uk
  38. Wilts, England | 70734.126@compuserve.com
  39. -----------------------------------------
  40.